PhpOffice\PhpSpreadsheet\Shared\Font C

Total Complexity 117
Dependencies 5
Dependents 11
Total lines 757
Lines of code 334
Logical lines of code 247
Comment lines 198
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
getTrueTypeFontFileFromFont()
D
31 49 97
getDefaultRowHeightByFont()
D
33 35 110
calculateColumnWidth()
S
49 7 28
getTextWidthPixelsApprox()
S
49 6 31
getDefaultColumnWidthByFont()
S
57 5 16
getCharsetFromFontName()
S
61 5 14
getTextWidthPixelsExact()
S
59 2 13
setAutoSizeMethod()
S
68 2 7
getAutoSizeMethod()
S
80 1 3
setTrueTypeFontPath()
S
80 1 3
getTrueTypeFontPath()
S
80 1 3
fontSizeToPixels()
S
78 1 3
inchSizeToPixels()
S
80 1 3
centimeterSizeToPixels()
S
80 1 3